package com.gper.vip.homework.facotry.abstractF;

public class OilEnergy extends Energy {

    private String enegy = "oil";

    @Override
    void use() {
        System.out.println("use " + this.enegy);
    }
}
